package com.jishe.service;

import com.jishe.pojo.User;

import java.util.List;

public interface UserService {
    //新增用户
    void save(User user);

   //删除批量用户
    void delete(List<Integer> ids);
    //条件查询用户
    List<User> list(String username, Short gender);

    void update(User user);

    User login(User user);
}
